package com.niuwa.p2p.dao.channel;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.Corporation;
@MyBatisDao
public interface CorporationDao {
    int deleteByPrimaryKey(String corpCode);

    int insert(Corporation record);

    int insertSelective(Corporation record);

    Corporation selectByPrimaryKey(String corpCode);
    
    Corporation selectByCorpName(String corpName);

    int updateByPrimaryKeySelective(Corporation record);

    int updateByPrimaryKey(Corporation record);
}